import request from './utils/request'
export default {
  getSysType() {
    return request({
      url: `/eduservice/edu_question_type_sys/all`,
      method: 'get',
      data:null
    })
  },
  /////////////////////
  addType(object){
      return request({
        url:`/eduservice/edu_chapter_and_question_type_sys`,
        method:'post',
        data:object
       
      })
    },
    addQuestionAndType(object){
      return request({
        url:`/eduservice/chapter_aquestion_type_sys_and_question`,
        method:'post',
        data:object
       
      })
    },
    addChoiceQuestionAndType(object){
      return request({
        url:`/eduservice/chapter_aquestion_type_sys_and_choicequestion`,
        method:'post',
        data:object
       
      })
    },
    

    addQuestionListAndpaperType(list,papertypeid){
      return request({
        url:`/eduservice/paper_type_and_question/addlist`,
        method:'post',
        data:{
          list:list,
          papertypeid:papertypeid,
        }
      })
    },
    addChoiceQuestionListAndpaperType(list,papertypeid){
      return request({
        url:`/eduservice/paper_type_and_choicequestion/addlist`,
        method:'post',
        data:{
        
        list,
        papertypeid
       }
      })
    },
  //   updatefolderAndQuestion(list){
  //     return request({
  //       url:`/eduservice/edu_question_and_taf/list`,
  //       method:'put',
  //       data:list
  //     })
  //   },
  //   deletefolderAndQuestion(id) {
  //     return request({
  //       url:`/eduservice/edu_question_and_taf/${id}`,
  //       method:'delete',
  
  //     })
  //  },
}
